Liferay.Service.register("Liferay.Service.Skill", "org.openwork.portlet.skillmanagement.service");

Liferay.Service.registerClass(
	Liferay.Service.Skill, "SkillCategory",
	{
		addSkillCategory: true,
		updateSkillCategory: true,
		deleteSkillCategory: true,
		search: true,
		searchCount: true
	}
);

Liferay.Service.registerClass(
	Liferay.Service.Skill, "Skill",
	{
		updateSkill: true,
		addSkill: true,
		countByCategoryId: true,
		searchByCategoryId: true
	}
);

Liferay.Service.registerClass(
	Liferay.Service.Skill, "SkillUser",
	{
		addSkillUser: true,
		updateSkillUser: true,
		searchCountByUserId: true,
		searchByUserId: true,
		searchCountBySkillId: true,
		searchBySkillId: true
	}
);